<template>
  <div class="pcBox">
    <div class="tp1">
      <img src="../assets/home/tp1.png" alt="" class="banner" />
    </div>
    <div class="tp2_Box">
      <div class="tp2">
        <img src="../assets/home/tp2.png" alt="" />
        <div class="tp2_box">
          <span style="margin-bottom: 20px">公司简介</span>
          <span style="margin-bottom: 20px">------------</span>
          <span style="line-height: 36px"
            >一番赏PLUS是一家主营一番赏的领先玩具品牌，
            品牌以“自在玩乐”为初衷，让玩具融入生活。
            同时融入“传统一番赏”等多种不同玩法。
            主营品类之多，承载了更多年轻人的青春与回忆，
            打造全新的二次元圈层。</span
          >
        </div>
      </div>
      <img src="../assets/home/lgx1.png" alt="" class="lgx1" />
    </div>
    <div class="tp3">
      <img src="../assets/home/tp3.png" alt="" />
      <div class="tp3_box">
        <div class="tp3_box_left">
          <span>主营产品</span>
          <span style="margin-top: 10px">--------</span>
        </div>
        <span class="tp3_text"
          >龙珠、航海王、鬼灭之刃、进击的巨人、火影忍者、银魂、新世纪福音战士、高达、奥特曼、夏目友人帐、魔卡少女樱、美少女战士、黑子的篮球、叛逆的鲁路修、从零开始的异世界生活、假面骑士、怪物猎人
          星球大战...... 从人气新番到经典神作，从青春热血到少女情怀，动漫、游戏
          电影，森罗万象，无所不包， 受到了粉丝的激励追捧！
        </span>
      </div>
    </div>
    <div class="xian">
      <img src="../assets/home/lgx.png" alt="" />
    </div>

    <div class="tp4">
      <div class="tpTop">
        <div class="tpTop_left">
          <div style="margin-bottom: 10px">运营现状及程序规划</div>
          <div style="margin-bottom: 20px">----------------</div>
          <div style="width: 500px; line-height: 30px; margin-bottom: 75px">
            于2021年成立深圳元气动漫科技有限公司，在微信端有独立运营的小程序
            和APP，为顾客建立更完善的体验感受！满足现代大众寄托于手办上的精神需求以及寄托。
          </div>
          <div>
            <img src="../assets/home/tp5.png" alt="" />
          </div>
          <div
            style="text-align: center; margin-top: 40px; padding-right: 40px"
          >
            <img src="../assets/home/tp5_text.png" alt="" />
          </div>
        </div>
        <img src="../assets/home/tp4.png" alt="" />
      </div>
      <div class="tpBottom">
        <img src="../assets/home/tp6.png" alt="" />
        <div class="tpTop_left">
          <div class="tpTop_left_text">
            <div style="margin-bottom: 40px">
              当前公司与北京唐塑，上海越侠，广州瑞华行，广州英格伦，开天工作室，起点工作室等签署合作协议，并致力于雕像手办，模型的高端市场。
            </div>
            <div style="margin-bottom: 30px">
              Shenzhen Yuanqi Animation Technology Co., Ltd. was established in
              2021. It has independent small programs and apps on the wechat end
              to establish a better experience for customers! Meet the spiritual
              needs and sustenance of the modern public.
            </div>
            <div>
              At present, the company has signed cooperation agreements with
              Beijing Tang Su, Shanghai Yuexia, Guangzhou Ruihua bank, Guangzhou
              Yinglun, Kaitian studio, starting point studio, etc., and is
              committed to the high-end market of statues and models.
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="mobileBox">
    <div class="mobile_top">
      <img src="../assets/home/m_tp1.png" alt="" class="bbg" />
      <img src="../assets/home/m_tp2.png" alt="" class="btext" />
    </div>
    <img src="../assets/home/m_tp3.png" alt="" class="m_tp3" />
    <div class="m_tabBar">
      <div class="m_tabBar_box">
        <div
          v-for="(item, index) in m_tabBar"
          :key="index"
          class="m_tabBar_text"
          @click="jump(item.path)"
        >
          <div class="h_tp">
            <div>{{ item.name }}</div>
            <div class="h_tp2">{{ item.en }}</div>
          </div>
        </div>
      </div>
    </div>
    <div class="m_tp4">
      <div class="title"><span>公司简介</span></div>
      <div class="title_fb">
        <div>一番赏PLUS</div>
        <div>- - - - -</div>
      </div>
      <div class="m_tp4_text">
        <div class="m_tp4_text_left">
          <div class="m_tp4_text_left_box">
            <div>
              是一家主营一番赏的领先玩具品牌，品牌以“自在玩乐”为初衷，让玩具融入生活。同时融入“传统一番赏”等多种不同玩法。
            </div>
            <div>
              主营品类之多，承载了更多年轻人的青春与回忆，打造全新的二次元圈层。
            </div>
          </div>
        </div>
        <img src="../assets/home/m_tp5.png" alt="" />
      </div>
    </div>
    <div class="m_tp5">
      <img src="../assets/home/m_tp6.png" alt="" />
      <div class="m_tp5_text">
        <div class="m_tp5_text_left">
          <div class="m_tp5_text_left_title">主营产品</div>
          <div>- - - - -</div>
        </div>
        <div class="m_tp5_text_right">
          龙珠、航海王、鬼灭之刃、进击的巨人、火影忍者、银魂、新世纪福音战士、高达、奥特曼、夏目友人帐、魔卡少女樱、美少女战士、黑子的篮球、叛逆的鲁路修、从零开始的异世界生活、假面骑士、怪物猎人
          星球大战...... 从人气新番到经典神作，从青春热血到少女情怀，动漫、游戏
          电影，森罗万象，无所不包， 受到了粉丝的激励追捧！
        </div>
      </div>
    </div>
  </div>
</template>

<script setup>
import { useRouter } from "vue-router";
const router = useRouter();

const m_tabBar = [
  { name: "抽赏系列", en: "Reward series", path: "/reward" },
  { name: "品牌代理", en: "Brand Agency", path: "/reward" },
  { name: "无限赏", en: "Infinity", path: "/reward" },
  { name: "运营现状", en: "Infinity", path: "/reward" },
];
const jump = (path) => {
  router.push({ path });
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="less">
.mobileBox {
  display: none;
}

.tpTop {
  display: flex;
  justify-content: center;
  color: #fff;
}

.tpBottom {
  display: flex;
  justify-content: center;
  color: #fff;
  margin-top: 110px;
}

.tpTop_left {
  margin-right: 40px;
}

.tpTop_left_text {
  width: 500px;
  line-height: 36px;
  margin-left: 45px;
  // margin-top: 40px;
}

.tp1 {
  position: relative;
  width: 100%;
  height: 970px;
  overflow: hidden;
}

.tp1 .banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tp2_Box {
  position: relative;
  width: 100%;
  height: 100%;

  .lgx1 {
    position: absolute;
    top: 85%;
    left: 35%;
    z-index: 99;
  }
}

.tp2 {
  width: 100%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 280px 0 0 0;

  img {
    margin-left: -200px;
  }
}

.tp2_box {
  display: flex;
  flex-direction: column;
  width: 340px;
  margin-left: 45px;
  font-size: 16px;
}

.tp3 {
  width: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* padding: 120px 370px 0 370px; */
  padding-top: 120px;
}

.tp3_box_left {
  display: flex;
  flex-direction: column;
  padding-top: 5px;
}

.tp3_box {
  display: flex;
  margin-top: 30px;
}

.tp3_text {
  width: 920px;
  margin-left: 25px;
  line-height: 36px;
}

.xian {
  padding-left: 800px;
  margin-top: 120px;
  margin-bottom: 150px;
}

@media (max-width: 1500px) {
  .pcBox {
    display: none;
  }

  .mobileBox {
    display: block;
    background-image: url(../assets/home/bg.png);
    background-repeat: no-repeat;
    background-size: 110% 110%;
    height: 100%;
    // overflow-y: auto;
    // overflow-x: hidden;
    padding-bottom: 10%;
    .mobile_top {
      position: relative;

      .bbg {
        width: 100%;
        height: auto;
      }

      .btext {
        width: 60px;
        height: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }
    }

    .m_tp3 {
      width: 100%;
      height: auto;
      position: relative;
      top: -25px;
      margin-bottom: 35px;
    }

    .m_tabBar {
      padding: 0 10px;

      .m_tabBar_box {
        background-image: url(../assets/home/m_tp4.png);
        background-repeat: no-repeat;
        background-size: 100%;
        height: 100px;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 65px;

        .m_tabBar_text {
          font-size: 12px;
          text-align: center;
          transform: scale(10/12);
          -webkit-transform-origin-x: 0;

          .h_tp {
            display: inline-block;
          }
        }
      }

      .m_tabBar_text:not(:last-child)::after {
        content: "";
        background-color: #e8e8e8;
        color: #e8e8e8;
        height: 25px;
        width: 2px;
        position: relative;
        // right: 0px;
        display: inline-block;
        margin: 0 10px 0 15px;
        transform: rotate(25deg);
      }
    }

    .m_tp4 {
      color: #fff;
      padding: 0 10px;
      position: relative;

      .title {
        color: #ff7033;
        display: flex;
        width: 100%;
        position: relative;
        justify-content: flex-end;
        span {
          transform: scale(10/12);
          -webkit-transform-origin-x: 0;
        }
      }
      .title_fb {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 5px;
        div {
          transform: scale(8/12);
          -webkit-transform-origin-x: 0;
        }
      }
      .m_tp4_text {
        position: relative;
        img {
          height: 80px;
          width: auto;
          position: absolute;
          right: 0;
        }
        .m_tp4_text_left {
          width: 85%;
          display: inline-block;
          .m_tp4_text_left_box {
            transform: scale(8/12);
            -webkit-transform-origin-x: 0;
            -webkit-transform-origin-y: 0;
            line-height: 1.5;
            display: inline-block;
          }
        }
      }
    }
    .m_tp5 {
      position: relative;
      padding: 0 20px;
      margin-top: 8%;
      img {
        width: 100%;
        height: auto;
      }
      .m_tp5_text {
        color: #fff;
        position: relative;
        margin-top: 12%;
        .m_tp5_text_left {
          position: absolute;
          top: 0;
          left: 0;
          .m_tp5_text_left_title {
            color: #ff7033;
            transform: scale(10/12);
            -webkit-transform-origin-x: 0;
            -webkit-transform-origin-y: 0;
          }
        }
        .m_tp5_text_right {
          transform: scale(8/12);
          -webkit-transform-origin-x: 100%;
          -webkit-transform-origin-y: 0;
          line-height: 1.5;
        }
      }
    }
  }
}

@media (max-width: 390px) {
  .mobileBox .m_tabBar .m_tabBar_box .m_tabBar_text {
    font-size: 12px;
    text-align: center;
    transform: scale(9/12);
    -webkit-transform-origin-x: 0;
  }

  .mobileBox .m_tabBar .m_tabBar_box {
    height: 80px;
  }

  .mobileBox .m_tabBar .m_tabBar_text:not(:last-child)::after {
    content: "";
    background-color: #e8e8e8;
    color: #e8e8e8;
    height: 25px;
    width: 2px;
    position: relative;
    // right: 0px;
    display: inline-block;
    margin: 0 5px;
    left: 15px;
    transform: rotate(25deg);
    position: relative;
  }

  .mobileBox .m_tabBar .m_tabBar_text:last-child {
    margin-left: 8px;
  }
}

@media (max-width: 350px) {
  .mobileBox .m_tabBar .m_tabBar_box .m_tabBar_text {
    font-size: 12px;
    text-align: center;
    transform: scale(6/12);
    -webkit-transform-origin-x: 0;
  }

  .mobileBox .m_tabBar .m_tabBar_box {
    height: 60px;
  }
  .mobileBox .m_tabBar .m_tabBar_text:nth-child(1) {
    position: relative;
    left: 15px;
  }
  .mobileBox .m_tabBar .m_tabBar_text:nth-child(2) {
    position: relative;
    left: 10px;
  }

  .mobileBox .m_tabBar .m_tabBar_text:not(:last-child)::after {
    content: "";
    background-color: #e8e8e8;
    color: #e8e8e8;
    height: 25px;
    width: 2px;
    position: relative;
    // right: 0px;
    display: inline-block;
    margin: 0;
    left: 25px;
    transform: rotate(25deg);
    position: relative;
  }

  .mobileBox .m_tabBar .m_tabBar_text:last-child {
    margin-left: 8px;
  }
  .mobileBox .m_tp4 .m_tp4_text img {
    height: 130px;
    width: 120px;
    object-fit: cover;
  }
  .mobileBox .m_tp4 .m_tp4_text .m_tp4_text_left {
    width: 70%;
    display: inline-block;
  }
}
</style>
